<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ include file="/WEB-INF/jsp/include.jsp"%>
<%@page import="mks.webshop.entity.PanelType"%>
    <!--BẮT ĐẦU DIV TOP-->
<!--Bắt đầu div logo-->
<!--Bao gồm logo và tìm kiếm-->

<div class="logo">
  <div id="block-search-0" class="block block-search">
<%--     <sec:authorize ifNotGranted="ROLE_ANONYMOUS"> --%>
<%--       <s:message code="label.welcome"/> <sec:authentication property="principal.email"/>! --%>
<%--         <a href="logout.do"><s:message code="label.logout"/></a> --%>
<%--     </sec:authorize> --%>
<%-- 		<% 
// 			String username = (String)session.getAttribute("username");
		%> --%>
		
<!-- 	    <form id="login-form-id" class="form-3"> -->
	    
<%-- 	     <c:if test="${empty username}"> --%>
<!-- 				<p class="clearfix"> -->
<!-- 					<label for="login">Tên</label> <input name="username" id="username" placeholder="Tên" type="text"> -->
<!-- 				</p> -->
<!-- 				<p class="clearfix"> -->
<!-- 					<label for="password">Mật khẩu</label> <input name="password" id="password" placeholder="Mật khẩu" type="password"> -->
<!-- 				</p> -->
<!-- 				<p class="clearfix"> -->
<!-- 					<input id="register" name="submit" value="Đăng ký" type="button"> -->
<!-- 				</p> -->
<!-- 				<p class="clearfix"> -->
<!-- 					<input id="login" name="submit" value="Đăng nhập" type="button"> -->
<!-- 				</p> -->
<%-- 		</c:if> --%>
<%-- 		 <c:if test="${username != null}"> --%>
<%-- 		 	<c:out value="Chào mừng: ${username}"></c:out> --%>
<!-- 		 	<a id="logout" href="/logoutuser.html">Thoát</a></br> -->
<%-- 		 	<a href="/detailuser.html?id=${username}">Thông tin người dùng</a> --%>
<!-- 		 	<a id="shopping-card-id" href="/shoppingcard.html" class="buttoncart"><img src="./images/cart.png"></a> -->
<%-- 		 </c:if> --%>
<!-- 		</form> -->
	
</div>
                
</div>
<!--Kết thúc div logo-->

<!--Bắt đầu div menu-->

<div class="topbg"> 
    <ul class="links">
     <c:if test = "${address == 1}"> 
    	<li class="menu-641 active-trail first active"><a href="home.html" title="" class="active">Trang chủ</a></li>
     </c:if> 
     <c:if test = "${address != 1}">
   	<li class="menu-641"><a href="home.html" title="">Trang chủ</a></li>
    </c:if> 
    <c:if test = "${address == 2}">
    	<li class="menu-641 active-trail first active"><a href="introduction.html" title="" class="active">Giới thiệu</a></li>
    </c:if>
    <c:if test = "${address != 2}">
    	<li class="menu-641"><a href="introduction.html" title="">Giới thiệu</a></li>
    </c:if>
    <c:if test = "${address == 3}">
    	<li class="menu-641 active-trail first active"><a href="policy.html" title="" class="active">Thông tin khuyến mãi</a></li>
    </c:if>
    <c:if test = "${address != 3}">
    	<li class="menu-641"><a href="policy.html" title="">Thông tin khuyến mãi</a></li>
    </c:if>
    <c:if test = "${address == 4}">
    	<li class="menu-641 active-trail first active"><a href="help.html" title="" class="active">Hướng dẫn</a></li>
    </c:if>
    <c:if test = "${address != 4}">
    	<li class="menu-641"><a href="help.html" title="">Cách mua hàng</a></li>
    </c:if>
    <c:if test = "${address == 5}">
    	<li class="menu-641 active-trail first active"><a href="contact.html" title="" class="active">Liên hệ</a></li>
    </c:if>
    <c:if test = "${address != 5}">
    	<li class="menu-641"><a href="contact.html" title="">Liên hệ</a></li>
    </c:if>
	</ul>
	<li><form  method="post" action="/search.di" >
			<input name="name" size="22" style="margin-top:4px; margin-left:5px;" placeholder="Tên sản phẩm"/>
			<input type="submit" value="Tìm kiếm" style="margin-top:4px;"/>
		</form>
	</li>
	</div>

<!--Kết thúc div menu-->
